home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / MacHacksBug / Python 1.5.2c1 / Mac / Lib / lib-toolbox / QDOffscreen.py < prev    next >
Encoding:
Text File  |  2000-06-23  |  940 b   |  35 lines

  1. # Generated from 'Moes:Codewarrior Pro 4:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:QDOffscreen.h'
  2.  
  3. def FOUR_CHAR_CODE(x): return x
  4. pixPurgeBit = 0
  5. noNewDeviceBit = 1
  6. useTempMemBit = 2
  7. keepLocalBit = 3
  8. pixelsPurgeableBit = 6
  9. pixelsLockedBit = 7
  10. mapPixBit = 16
  11. newDepthBit = 17
  12. alignPixBit = 18
  13. newRowBytesBit = 19
  14. reallocPixBit = 20
  15. clipPixBit = 28
  16. stretchPixBit = 29
  17. ditherPixBit = 30
  18. gwFlagErrBit = 31
  19. pixPurge = 1L << pixPurgeBit
  20. noNewDevice = 1L << noNewDeviceBit
  21. useTempMem = 1L << useTempMemBit
  22. keepLocal = 1L << keepLocalBit
  23. pixelsPurgeable = 1L << pixelsPurgeableBit
  24. pixelsLocked = 1L << pixelsLockedBit
  25. kAllocDirectDrawSurface = 1L << 14
  26. mapPix = 1L << mapPixBit
  27. newDepth = 1L << newDepthBit
  28. alignPix = 1L << alignPixBit
  29. newRowBytes = 1L << newRowBytesBit
  30. reallocPix = 1L << reallocPixBit
  31. clipPix = 1L << clipPixBit
  32. stretchPix = 1L << stretchPixBit
  33. ditherPix = 1L << ditherPixBit
  34. gwFlagErr = 1L << gwFlagErrBit
  35.